Data Structures and Algorithms with JavaScript (Paperback)

Data Structures and Algorithms with JavaScript (Paperback)

作者: Michael McMillan
出版社: O'Reilly
出版在: 2014-03-24
ISBN-13: 9781449364939
ISBN-10: 1449364934
裝訂格式: Paperback
總頁數: 252 頁





內容描述


As an experienced JavaScript developer moving to server-side programming, you need to implement classic data structures and algorithms associated with conventional object-oriented languages like C# and Java. This practical guide shows you how to work hands-on with a variety of storage mechanisms—including linked lists, stacks, queues, and graphs—within the constraints of the JavaScript environment.Determine which data structures and algorithms are most appropriate for the problems you’re trying to solve, and understand the tradeoffs when using them in a JavaScript program. An overview of the JavaScript features used throughout the book is also included.This book covers:Arrays and lists: the most common data structuresStacks and queues: more complex list-like data structuresLinked lists: how they overcome the shortcomings of arraysDictionaries: storing data as key-value pairsHashing: good for quick insertion and retrievalSets: useful for storing unique elements that appear only onceBinary Trees: storing data in a hierarchical mannerGraphs and graph algorithms: ideal for modeling networksAlgorithms: including those that help you sort or search dataAdvanced algorithms: dynamic programming and greedy algorithms




相關書籍

Quick Start Guide to Dart Programming: Create High-Performance Applications for the Web and Mobile

作者 Sinha Sanjib

2014-03-24

PHP & MySQL: The Missing Manual 國際中文版 (PHP & MySQL: The Missing Manual)

作者 Brett McLaughlin 翁佳慧 譯

2014-03-24

Webassembly: The Definitive Guide: Safe, Fast, and Portable Code

作者 Sletten Brian

2014-03-24